package com.ahui.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Builder;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Builder
@Component
public class BondAccount implements Serializable, Cloneable {

    public BondAccount() {
        this.amount = String.valueOf(BigDecimal.ZERO);
    }

    public BondAccount(String fileName, String shareholderTradingName, String shareholderTradingAccount, String amount, String bondAbbreviation, String bondCode) {
        this.fileName = fileName;
        this.shareholderTradingName = shareholderTradingName;
        this.shareholderTradingAccount = shareholderTradingAccount;
        this.amount = amount;
        this.bondAbbreviation = bondAbbreviation;
        this.bondCode = bondCode;
    }


    @ExcelProperty(value = "文件名")
    private String fileName;

    /**
     * 股东交易账户-账户名称
     */
//    @ApiModelProperty(name = "", notes = "股东交易账户-账户名称")
    @ExcelProperty(value = "股东交易账户-账户名称")
    private String shareholderTradingName;
    /**
     * 股东交易账户-交易账户
     */
//    @ApiModelProperty(name = "", notes = "股东交易账户-交易账户")
    @ExcelProperty(value = "股东交易账户-交易账户")
    private String shareholderTradingAccount;
    /**
     * 金额（元）
     */
//    @ApiModelProperty(name = "", notes = "金额（元）")
    @ExcelProperty(value = "金额（元）")
    private String amount;
    /**
     * 债券简称
     */
//    @ApiModelProperty(name = "", notes = "债券简称")
    @ExcelProperty(value = "债券简称")
    private String bondAbbreviation;
    /**
     * 债券代码
     */
//    @ApiModelProperty(name = "", notes = "债券代码")
    @ExcelProperty(value = "债券代码")
    private String bondCode;


}